<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>上传下载测试页面</title>
</head>
<body>
	<h3>上传</h3><br/>
	<form name="form1"  method="post" enctype="multipart/form-data" action="<%=request.getContextPath()%>/ud?method=up">
	<p>
	  <input name="file1" type="file" />
	</p>
	<p>
	  <input type="submit" name="Submit" value="上传">
	</p>
	</form>
	<hr><br>
	<h3>下载</h3>
	<p>
		<a href="<%=request.getContextPath()%>/ud?method=down&fileName=联通网管网拓扑图.jpg">点击下载</a>
	</p>
	
</body>
</html>